<template>
  <div class="part-three">
    <h1 class="title">流程可视化</h1>
    <span class="desc">流程配置可视化，任务编排与执行状态一目了然。</span>
    <el-carousel
      indicator-position="outside"
      arrow="never"
      pause-on-hover
      height="420px"
    >
      <el-carousel-item>
        <img src="~@/assets/web/pngs/carousel-img1.png"/>
      </el-carousel-item>
      <el-carousel-item>
        <img src="~@/assets/web/pngs/carousel-img3.png"/>
      </el-carousel-item>
      <el-carousel-item>
        <img src="~@/assets/web/pngs/carousel-img6.png"/>
      </el-carousel-item>
      <el-carousel-item>
        <img src="~@/assets/web/pngs/carousel-img4.png"/>
      </el-carousel-item>
      <el-carousel-item>
        <img src="~@/assets/web/pngs/carousel-img2.png"/>
      </el-carousel-item>
      <el-carousel-item>
        <img src="~@/assets/web/pngs/carousel-img5.png"/>
      </el-carousel-item>
    </el-carousel>
    <div class="shadow"></div>
  </div>
</template>
<style lang="less" scoped>
.part-three {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  margin: 75px 60px 95px;
  color: #042749;

  .title {
    font-size: 32px;
    font-weight: 600;
  }

  .desc {
    margin: 25px 0 50px;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
  }

  ::v-deep(.el-carousel) {
    width: 1100px;

    .el-carousel__item {
      img {
        width: 100%;
        height: 404px;
      }
    }

    .el-carousel__indicators {
      .el-carousel__indicator {
        margin-top: 30px;

        &.is-active {
          .el-carousel__button {
            background-color: #042749;
            opacity: 1;
          }
        }

        .el-carousel__button {
          margin-right: 20px;
          opacity: 1;

          height: 6px;
          width: 40px;
          border-radius: 3px;
          background-color: #d8d8d8;
        }
      }
    }
  }

  .shadow {
    position: absolute;
    top: 140px;
    left: calc(100% - 1100px) / 2;
    box-shadow: 0px 0px 30px 0px #dce3ef;
    width: 1100px;
    margin: 0 auto;
    height: 420px;
  }
}
</style>
